package com.ld.control.business.equipment.vo.resp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 设备的试剂
 * </p>
 *
 * @author wangfeng
 * @since 2024-08-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("reagent")
@Schema(description="设备的试剂")
public class ReagentRespVo implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Long equipmentId;

    private String name;

    @Schema(description = "0正常，1即将不足，2,异常")
    private Integer status;

    @Schema(description = "值")
    private BigDecimal value;

    @Schema(description = "参考值")
    private BigDecimal threshold;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "创建人id")
    private Long createBy;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新人")
    private Long updateBy;

    @Schema(description = "更新时间")
    private Date updateTime;
}
